local oldvguicreate = vgui.Create

function vgui.Create(...)
	local panel = oldvguicreate(...)
	panel:SetCursor("blank")
	panel.SetCursor = function() end -- maybe tell the gamemode they tried to change cursor?
	return panel
end

local CustomCursor = Material("flood/cursor")

hook.Add("PostRenderVGUI", "HackyCustomCursor", function()
	if vgui.CursorVisible() then
		local x, y = gui.MousePos()
		surface.SetDrawColor(255, 255, 255, 255)
		surface.SetMaterial(CustomCursor)
        surface.DrawTexturedRect(x-32, (y-16), 32, 32)
	end
end)